package com.stardust.mapper;

import com.stardust.pojo.Questions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题目查询数据库操作的映射接口
 */
public interface QuestionMapper {

    public int insert(Questions questions);
    public int update(Questions questions);
    public int delete(int id);
    public List<Questions> select(@Param("title") String title,@Param("skip") int skip,@Param("size")int size);
    public Questions serach(int id);
}
